package system.service;

import java.util.List;

import system.httpModel.Resources;

import common.httpModel.EasyuiTreeNode;
import common.service.BaseService;

public interface ResourcesService extends BaseService{

	List<EasyuiTreeNode> tree(String id);

	List<Resources> treegrid(String id);

	Resources add(Resources resources);

	boolean del(Resources resources);

	Resources edit(Resources resources);

	/**
	 * 获取父菜单下的所有子菜单设置父菜单为null
	 * @param id
	 * @return
	 */
	void queryResources(String id);

}
